package com.ktgj.hotel.domain.dic;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;
import org.apache.ibatis.type.Alias;

/**
 * 省对象 dic_province
 * 
 * @author ruoyi
 * @date 2021-10-28
 */
@Alias("DicProvinces")
public class DicProvince extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 省名 */
    @Excel(name = "省名")
    private String provinceName;

    /** 拼音 */
    @Excel(name = "拼音")
    private String pinYin;

    /** 简称 */
    @Excel(name = "简称")
    private String shortName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProvinceName(String provinceName) 
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName() 
    {
        return provinceName;
    }
    public void setPinYin(String pinYin) 
    {
        this.pinYin = pinYin;
    }

    public String getPinYin() 
    {
        return pinYin;
    }
    public void setShortName(String shortName) 
    {
        this.shortName = shortName;
    }

    public String getShortName() 
    {
        return shortName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("provinceName", getProvinceName())
            .append("pinYin", getPinYin())
            .append("shortName", getShortName())
            .toString();
    }
}
